{yun:}include file="$trainstyle/header.htm"{/yun} 
<script src="{yun:}$config.sy_weburl{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}"></script> 
<script src="{yun:}$config.sy_weburl{/yun}/js/member_public.js?v={yun:}$config.cachecode{/yun}"></script>
<div class="clear"></div>
<div class="training_content training_w980">

  {yun:}include file="$trainstyle/left.htm"{/yun}
  <div class="right_column frt mt20">
         <div class="right_nav_box">
    <ul class="right_nav_box_list">
        <li {yun:}if $smarty.get.c=="integral"{/yun}class="right_nav_box_cur"{yun:}/if{/yun}><a href="index.php?c=integral">{yun:}$config.integral_pricename{/yun}任务</a></li>
        <li {yun:}if $smarty.get.c=="integral_reduce"{/yun}class="right_nav_box_cur"{yun:}/if{/yun}><a href="index.php?c=integral_reduce">{yun:}$config.integral_pricename{/yun}规则</a></li>
        <li {yun:}if $smarty.get.c=="reward_list"{/yun}class="right_nav_box_cur"{yun:}/if{/yun}><a href="index.php?c=reward_list">{yun:}$config.integral_pricename{/yun}兑换</a></li>
      </ul>
      </div>
    <div class="right_column_border">

      <div class="Reservation_list" >
       {yun:}if $total{/yun}
        <div class="Reservation_list_singup">
          <div class="Reservation_list_span Reservation_list_name" style="width:220px;">商品名称</div>
          <div class="Reservation_list_span Reservation_list_name" style="width:80px;text-align:center">消耗{yun:}$config.integral_pricename{/yun}</div>
          <div class="Reservation_list_span Reservation_list_name" style="width:80px;text-align:center">兑换数量</div>
          <div class="Reservation_list_span Reservation_list_time" style="width:80px;text-align:center">兑换时间</div>
          <div class="Reservation_list_span Reservation_list_time" style="width:180px;text-align:center">联系电话</div>
          <div class="Reservation_list_span Reservation_list_cz" style="width:180px;text-align:center">操作</div>
        </div>
        {yun:}foreach item=v from=$rows{/yun}
        <div class="Reservation_list_singup"> 
          <div class="Reservation_list_span Reservation_list_name" style="width:220px;">{yun:}$v.name{/yun}&nbsp; </div>
          <div class="Reservation_list_span Reservation_list_name" style="width:80px;text-align:center">{yun:}$v.integral{/yun}&nbsp; </div>
          <div class="Reservation_list_span Reservation_list_name" style="width:80px;text-align:center">{yun:}$v.num{/yun}(件)&nbsp; </div>
          <div class="Reservation_list_span Reservation_list_time" style="width:80px;text-align:center">{yun:}$v.ctime|date_format:'%Y-%m-%d'{/yun} </div>
          <div class="Reservation_list_span Reservation_list_time" style="width:180px;text-align:center">{yun:}$v.linkman{/yun}({yun:}$v.linktel{/yun}) </div>

          <div class="Reservation_list_span Reservation_list_cz" style="width:180px;text-align:center"> 
          {yun:}if $v.status=="0"{/yun} <span class="wate_verify">等待审核</span> |
           <a href="javascript:void(0)" onclick="layer_del('确定要取消？', 'index.php?c=reward_list&act=del&id={yun:}$v.id{/yun}');">取消兑换</a>        {yun:}elseif $v.status=="1"{/yun}
           <span class="y_verify">已审核</span> 
           {yun:}elseif $v.status=="2"{/yun} 
           <span class="n_verify">未通过</span>
            
			
			 <a href="javascript:;" class="looklist" onclick="layer.open({title:'查看原因',content:'{yun:}$v.statusbody{/yun}'});">查看原因</a>
            {yun:}/if{/yun}
            </div>
    
        <div style="width:100%; float:left">{yun:}if $v.express||$v.expnum{/yun}物流：{yun:}$v.express{/yun}{yun:}$v.expnum{/yun}{yun:}/if{/yun}
        {yun:}if $v.body{/yun}<span style="padding-left:20px;">{yun:}$v.body{/yun} </span>{yun:}/if{/yun} </div>    </div>
        {yun:}/foreach{/yun}
		      <div class="clear"></div>
		      <div class="wxts_box" style="margin-top:80px;">
                <div class="wxts">温馨提示：</div>
               您已兑换（<span style="color:#f60;">{yun:}$num{/yun}</span>）份礼品，还有<span style="color:#f60;">{yun:}$statis.integral{/yun}</span>{yun:}$config.integral_priceunit{/yun}{yun:}$config.integral_pricename{/yun}。 <a href="{yun:}url m=redeem{/yun}"  style="color:#f60;" target="_blank" >我要兑换</a><br>
            </div>
      {yun:}else{/yun}
	   <div class="clear"></div>
      <div class="msg_no">您共有<span style="color:#f60;">{yun:}$statis.integral{/yun}</span>{yun:}$config.integral_priceunit{/yun}{yun:}$config.integral_pricename{/yun}，还没有兑换礼品记录
      <div class=""><a href="{yun:}url m=redeem{/yun}" target="_blank" class="member_no_abth">现在就去兑换</a></div>
      </div>
      {yun:}/if{/yun}
		
		 </div>
      <div class="pages">{yun:}$pagenav{/yun}</div>
    </div>
  </div>
</div>
{yun:}include file="$trainstyle/footer.htm"{/yun}